package xyz.wjwnya.training_manage_system;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@ComponentScan({
    "xyz.wjwnya.*"
})
@ServletComponentScan({"xyz.wjwnya.*"})
@MapperScan({"xyz.wjwnya.database.mapper", "xyz.wjwnya.*.mapper"})
public class TrainingManageSystemApplication {

    public static void main(String[] args) {
        SpringApplication.run(TrainingManageSystemApplication.class, args);
    }

}
